package net.lab1024.sa.admin.module.business.erp.inv.dao;

import java.math.BigDecimal;
import java.util.List;
import net.lab1024.sa.admin.module.business.erp.inv.domain.entity.InventordEntity;
import net.lab1024.sa.admin.module.business.erp.inv.domain.form.InventordQueryForm;
import net.lab1024.sa.admin.module.business.erp.inv.domain.vo.InventordVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 暂收送检单行 Dao
 *
 * @Author AKITA
 * @Date 2025-08-03 22:54:42
 * @Copyright AKITA
 */

@Mapper
public interface InventordDao extends BaseMapper<InventordEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<InventordVO> queryPage(Page<?> page, @Param("queryForm") InventordQueryForm queryForm);

    BigDecimal selectCountQty(@Param("itemId") String bomId);

    List<InventordVO> queryPageInOut(Page<?> page,@Param("queryForm") InventordQueryForm queryForm);
}
